import Vue from 'vue'
import VueRouter from 'vue-router'
import homeRoutes from './modules/homeRoutes'
import aboutRoutes from './modules/aboutRoutes'
import goodsRoutes from './modules/goodsRoutes'

Vue.use(VueRouter)

const routes = [
  ...homeRoutes,
  ...aboutRoutes,
  ...goodsRoutes
]

const router = new VueRouter({
  routes
})

export default router

// 除了组件其他同学不要修改这个文件

